#ifndef ELEMENT_H
#define ELEMENT_H 

class Element
{
protected:
    float _m[4 * 4];
    unsigned char color[3];
    virtual void renderInLocalFrame() const = 0;
public:
    virtual ~Element();
    void render();
    void setPosition(float, float = 0.0, float = 0.0);
    void setTransMatrix(float *);
};

#endif // ELEMENT_H 
